package com.itheima.chapter06.extends1.constructor;

public class Test {
    public static void main(String[] args) {
       /* Student stu1= new Student();
        //我是父类空参数构造方法
        //我是子类空参数构造方法---
        Student stu2= new Student(100);
        //我是父类空参数构造方法
        //我是子类有参数构造方法%%%*/

       Student stu = new Student("张阿三",23,100);
        System.out.println(stu.getName()+"   "+stu.getAge()+"   "+stu.getScore());

    }

}
